package com.mt.roll.wms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mt.roll.core.dal.entity.Location;
import com.mt.roll.wms.params.LocationShelfProcessQueryParam;
import com.mt.roll.wms.vo.LocationProcessVo;
import com.mt.roll.wms.vo.LocationVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author weihongyang
 * @Date 2021/11/11 10:13 上午
 * @Version 1.0
 */
@Repository
public interface LocationVoMapper extends BaseMapper<Location> {
    LocationVo getLayersAndColumnsByStorageId(Long storageId);
    List<LocationProcessVo> getAllLocationByProcessIdOrShelfId(@Param("params") LocationShelfProcessQueryParam locationQueryParam);
}
